package cn.tedu.egmybatis4.mapper;

import cn.tedu.egmybatis4.pojo.Customers;
import cn.tedu.egmybatis4.pojo.CustomersVO1;
import cn.tedu.egmybatis4.pojo.CustomersVO2;
import cn.tedu.egmybatis4.pojo.OrderListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomersMapper {
    int insert(Customers customers);
    CustomersVO1 selectById(String id);
    List<CustomersVO2> selectByCity(String city);
    OrderListVO selectCustAndOrders(String id);

}
